package com.platform.api.dao;


import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.platform.api.entity.KeywordsVo;
import com.platform.common.dao.BaseDao;

/**
 * 热闹关键词表
 *
 * @author lipengjun
 * @email 939961241@qq.com
 * @gitee https://gitee.com/fuyang_lipengjun/platform
 * @date 2017-08-11 09:16:46
 */
@Mapper
public interface ApiKeywordsMapper extends BaseDao<KeywordsVo> {
    int save(KeywordsVo t);
    void save(Map<String, Object> map);
    void saveBatch(List<KeywordsVo> list);
    int update(KeywordsVo t);
    int update(Map<String, Object> map);
    int delete(Object id);
    int delete(Map<String, Object> map);
    int deleteBatch(Object[] id);
    KeywordsVo queryObject(Object id);
    List<KeywordsVo> queryList(Map<String, Object> map);
    List<KeywordsVo> queryList(Object id);
    int queryTotal(Map<String, Object> map);
    int queryTotal();
    List<Map> hotKeywordList(Map param);
}
